<?php
class Delivery_Model_Exception
	extends Zend_Exception
{
	//user
	const USER_NOT_FOUND				= 'Exception_userNotFound'; 
	const USER_LOGIN_FAILED				= 'Exception_userLoginFailed'; 
	const USER_ALREADY_ACTIVE			= 'Exception_userAlreadyActive'; 
	const USER_INVALID_CODE				= 'Exception_userInvalidCode'; 
	const USER_INVALID_ACTIVATION_CODE	= 'Exception_userInvalidActivationCode'; 
	
	//admin
	const ADMIN_NOT_FOUND				= 'Exception_adminNotFound'; 
	const ADMIN_LOGIN_FAILED			= 'Exception_adminLoginFailed'; 
	
	//categories
	const CATEGORY_NOT_FOUND			= 'Exception_categoryNotFound';
	const CATEGORY_CANNOT_BE_DELETED	= 'Exception_categoryCannotBeDeleted';
	
	//addresses
	const ADDRESS_NOT_FOUND				= 'Exception_addressNotFound';
	
	//commerce
	const COMMERCE_NOT_FOUND			= 'Exception_commerceNotFound';
	const COMMERCE_CANNOT_BE_DELETED	= 'Exception_commerceCannotBeDeleted';
	
	const CUISINE_NOT_FOUND				= 'Exception_cuisineNotFound';
	const HOUR_NOT_FOUND				= 'Exception_hourNotFound';
	
	const MEASURE_CANNOT_BE_DELETED		= 'Exception_measureCannotBeDeleted';
	const MEASURE_NOT_FOUND				= 'Exception_measureNotFound';
	
	const ORDER_NOT_FOUND				= 'Exception_orderNotFound';
	const ORDER_CANNOT_BE_ACEPTED		= 'Exception_orderCannotBeAcepted';
	const ORDER_CANNOT_BE_REJECTED		= 'Exception_orderCannotBeRejected';
	const ORDER_CANNOT_BE_CANCELED		= 'Exception_orderCannotBeCanceled';
	const ORDER_CANNOT_BE_SENT			= 'Exception_orderCannotBeSent';
	const ORDER_CANNOT_BE_FINALIZED		= 'Exception_orderCannotBeFinalized';
	
	const ORDER_CREATION_CLOSE			= 'Exception_orderCreationClose';
	const ORDER_CREATION_OFFLINE		= 'Exception_orderCreationOffline';
	const ORDER_CREATION_ZONE			= 'Exception_orderCreationZone';
	const ORDER_CREATION_STOCK			= 'Exception_orderCreationStock';
	const ORDER_CREATION_MINIMUM		= 'Exception_orderCreationMinimum';
	const ORDER_CREATION_TIME			= 'Exception_orderCreationTime';
	const ORDER_CREATION_DELIVERY		= 'Exception_orderCreationDelivery';
	const ORDER_CREATION_PICKUP			= 'Exception_orderCreationPickup';
	const ORDER_CREATION_EMPTY			= 'Exception_orderCreationEmpty';
	
	const PRODUCT_NOT_FOUND				= 'Exception_productNotFound';
	const PRODUCT_CANNOT_BE_DELETED		= 'Exception_productCannotBeDeleted';
	const PRODUCT_CANNOT_BE_MODIFIED	= 'Exception_productCannotBeModified';
	const PRODUCT_NOT_STOCK				= 'Exception_productNotStock';
	
	const PROMOTION_NOT_FOUND			= 'Exception_promotionNotFound';
	const PROMOTION_MISSING_ITEMS		= 'Exception_promotionMissingItems';
	
	const ZONE_NOT_FOUND				= 'Exception_zoneNotFound';
	
	const TAG_NOT_FOUND					= 'Exception_tagNotFound';
	const CITY_NOT_FOUND				= 'Exception_cityNotFound';
	
	
	//families
	const OPCION_FAMILY_NOT_FOUND			= 'Exception_opcionFamilyNotFound';
	const OPCION_FAMILY_CANNOT_BE_DELETED	= 'Exception_opcionFamilyCannotBeDeleted';
	
	//opciones
	const OPCION_NOT_FOUND			= 'Exception_opcionNotFound';
	
	
	// Producto opciondes
	const PRODUCT_INVALID_OPCION			= 'Exception_productInvalidOpcion';
	const PRODUCT_INVALID_OPCION_MIN		= 'Exception_productInvalidOpcionMin';
	const PRODUCT_INVALID_OPCION_MAX		= 'Exception_productInvalidOpcionMax';
	
}